package com.xmg.p2p.business.mapper;

import com.xmg.p2p.business.domain.BidRequest;
import com.xmg.p2p.business.query.BidRequestQueryObject;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BidRequestMapper {
    //添加
    int insert(BidRequest record);
    //根据id查询对象
    BidRequest selectByPrimaryKey(Long id);
    //修改
    int updateByPrimaryKey(BidRequest record);

    /*分页相关*/
    int queryForCount(BidRequestQueryObject qo);

    List<BidRequest> query(BidRequestQueryObject qo);

}